{block name="main"}
<input type="checkbox" {$attr} {$isChecked} name="{$field}" value="{$success}" class="{$class}"
       lay-skin="switch" lay-text="{$text}" lay-filter="form_switch"
       data-field="{$field}"  id="{$elem_id}"
>
{/block}
{block name="style"}{/block}
{block name="js"}{/block}
